<div class="modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="width: 900px;">
        <div class="card">
            <div class="header">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title">{{params.title}}</h4>
            </div>
            <div activate-input class="body">
                <form class="form-horizontal" role="form" id="userchangeform"
                      name="userchangeform" ng-submit="submitUserChange(userchangeform.$valid)" novalidate>
                    <div class="dj-formtable">
                        <table class="dj-table">
                            <tr>
                                <th>
                                    选择成员
                                </th>
                                <td ng-class="{ 'has-error' : this.userchangeform.xm.$invalid &&  this.userchangeform.$submitted}">
                                    <div class="input-group input-group-search"
                                         data-dataoptions="selectUserlist"
                                         title="选择成员" bsselectdata-pro>
                                        <input name="xm" type="text" ng-model="uservm.XM"
                                               class="form-control" ng-required="true"
                                               ng-disabled="true"/>
                                        <span class="input-group-addon"><i class="material-icons">search</i></span>
                                    </div>
                                    <span ng-show="this.userchangeform.xm.$invalid &&  this.userchangeform.$submitted"
                                          class="error">必填.</span>
                                </td>
                                <td colspan="2" style="width: 50%">

                                </td>
                            </tr>
                            <tr>
                                <th>人员编码</th>
                                <td>
                                    {{changevm.rybm}}
                                </td>
                                <th>
                                    身份证
                                </th>
                                <td>
                                    {{uservm.SFZH}}
                                </td>

                            </tr>
                            <tr>
                                <th>当前党支部代码</th>
                                <td>
                                    {{uservm.SZDZBDM}}
                                </td>
                                <th>
                                    当前党支部名称
                                </th>
                                <td>
                                    {{uservm.DZZMC}}
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    调往党支部名称
                                </th>
                                <td ng-class="{ 'has-error' : this.userchangeform.new_dzzmc.$invalid &&  this.userchangeform.$submitted}">
                                    <div class="input-group input-group-search"
                                         title="选择党组织" ng-click="selectParty()">
                                        <input name="new_dzzmc" type="text" ng-model="new_dzzmc"
                                               class="form-control" ng-required="true"
                                               ng-disabled="true"/>
                                        <span class="input-group-addon"><i class="material-icons">search</i></span>
                                    </div>
                                    <span ng-show="this.userchangeform.new_dzzmc.$invalid &&  this.userchangeform.$submitted"
                                          class="error">必填.</span>
                                </td>
                                <th>
                                    转支部日期
                                </th>
                                <td ng-class="{ 'has-error' : this.userchangeform.zlzbrq.$invalid &&  this.userchangeform.$submitted}">
                                    <input name="zlzbrq" class="form-control"
                                           autocomplete="off"
                                           autoclose="true"
                                           data-date-format="yyyyMMdd" data-date-type="date"
                                           ng-model="changevm.zlzbrq"
                                           placeholder="" bs-datepicker ng-required="true"/>
                                    <span ng-show="this.userchangeform.zlzbrq.$invalid &&  this.userchangeform.$submitted"
                                          class="error">必填.</span>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    转离支部类型
                                </th>
                                <td ng-class="{ 'has-error' : this.userchangeform.zlzblx.$invalid &&  this.userchangeform.$submitted}">
                                    <input type="text" name="zlzblx" ng-model="changevm.zlzblx" maxlength="3"
                                           class="form-control" ng-required="true"/>
                                    <span ng-show="this.userchangeform.zlzblx.$invalid &&  this.userchangeform.$submitted"
                                          class="error">必填.</span>
                                </td>
                                <th>
                                    进入支部类型
                                </th>
                                <td ng-class="{ 'has-error' : this.userchangeform.jrzblx.$invalid &&  this.userchangeform.$submitted}">
                                    <input type="text" name="jrzblx" ng-model="changevm.jrzblx" maxlength="3"
                                           class="form-control" ng-required="true"/>
                                    <span ng-show="this.userchangeform.jrzblx.$invalid &&  this.userchangeform.$submitted"
                                          class="error">必填.</span>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <div class="form_foot">
                        <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
                        <button type="submit" class="btn btn-primary" form="userchangeform">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
